package xcmg.device.dao.entity.company;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class CompanyInfoDO {
    private String orgId;

    private String companyName;

    private String shortName;

    private String orgCode;

    private String address;

    private String companyType;

    private Long companyClassId;

    private String zip;

    private String fax;

    private String contact;

    private String contactTel;

    private Integer channel;

    private Date createDate;

    private Boolean isDel;

    private String moduleTeplateId;

    /**
     * 是否调用SAP（0否，1是）
     */
    private Integer isSap;

    /**
     * SAP工厂代码
     */
    private String sapCode;

    /**
     * 是否条码化（0否，1是）
     */
    private Integer isBarcode;

    private Integer isReturnAudit;

    private Integer isUrgentPrice;

    /**
     * 单据前缀。生成的所有单据使用该固定前缀
     */
    private String documentPre;

    private String factoryId;

    private String factoryName;

    @ApiModelProperty(value=" 供应商代码--来源广汽GPS",name="supplierNo")
    private String supplierNo;
    // 供应商id--来源广汽GPS
    @ApiModelProperty(value=" 供应商id--来源广汽GPS",name="loginId")
    private String loginId;

    public String getSupplierNo() {
        return supplierNo;
    }

    public void setSupplierNo(String supplierNo) {
        this.supplierNo = supplierNo;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getDocumentPre() {
        return documentPre;
    }

    public void setDocumentPre(String documentPre) {
        this.documentPre = documentPre;
    }

    public Boolean getDel() {
        return isDel;
    }

    public void setDel(Boolean del) {
        isDel = del;
    }

    public Integer getIsSap() {
        return isSap;
    }

    public void setIsSap(Integer isSap) {
        this.isSap = isSap;
    }

    public String getSapCode() {
        return sapCode;
    }

    public void setSapCode(String sapCode) {
        this.sapCode = sapCode;
    }

    public Integer getIsBarcode() {
        return isBarcode;
    }

    public void setIsBarcode(Integer isBarcode) {
        this.isBarcode = isBarcode;
    }

    public CompanyInfoDO(String orgCode, String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
        this.orgCode = orgCode == null ? null : orgCode.trim();
    }

    public CompanyInfoDO() {

    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName == null ? null : shortName.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public Long getCompanyClassId() {
        return companyClassId;
    }

    public void setCompanyClassId(Long companyClassId) {
        this.companyClassId = companyClassId;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip == null ? null : zip.trim();
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax == null ? null : fax.trim();
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel == null ? null : contactTel.trim();
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    public String getModuleTeplateId() {
        return moduleTeplateId;
    }

    public void setModuleTeplateId(String moduleTeplateId) {
        this.moduleTeplateId = moduleTeplateId == null ? null : moduleTeplateId.trim();
    }

    public Integer getIsReturnAudit() {
        return isReturnAudit;
    }

    public void setIsReturnAudit(Integer isReturnAudit) {
        this.isReturnAudit = isReturnAudit;
    }

    public Integer getIsUrgentPrice() {
        return isUrgentPrice;
    }

    public void setIsUrgentPrice(Integer isUrgentPrice) {
        this.isUrgentPrice = isUrgentPrice;
    }

    public String getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(String factoryId) {
        this.factoryId = factoryId;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }
}